package com.sxhalo.fsms.domain;

import java.util.Date;

public class DeviceLinkageRecord {
    /**
     * 联动触发日志id
     */
    private Integer id;

    /**
     * 联动触发指令id
     */
    private Integer commandId;

    /**
     * 联动任务id
     */
    private Integer linkageId;

    /**
     * 设备ID
     */
    private Integer deviceId;

    /**
     * 变量数据,json
     */
    private String attrValue;

    /**
     * 通讯指令
     */
    private String message;

    /**
     * 反馈信息
     */
    private String reserve;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 联动任务名称
     */
    private String linkageName;

    private String deviceName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCommandId() {
        return commandId;
    }

    public void setCommandId(Integer commandId) {
        this.commandId = commandId;
    }

    public Integer getLinkageId() {
        return linkageId;
    }

    public void setLinkageId(Integer linkageId) {
        this.linkageId = linkageId;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public String getAttrValue() {
        return attrValue;
    }

    public void setAttrValue(String attrValue) {
        this.attrValue = attrValue == null ? null : attrValue.trim();
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message == null ? null : message.trim();
    }

    public String getReserve() {
        return reserve;
    }

    public void setReserve(String reserve) {
        this.reserve = reserve == null ? null : reserve.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getLinkageName() {
        return linkageName;
    }

    public void setLinkageName(String linkageName) {
        this.linkageName = linkageName;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }
}